import Vue from 'vue'
import App from './App'
import {
	get,
	post
} from './api.js'


let upUrl = 'https://nsapi.hklvia.top'

if (process.env.NODE_ENV === 'development') {

	upUrl = 'https://192.168.80.95:6789'
	//#ifdef APP-PLUS
	upUrl='https://testfuyapi.huayuyangchu.cn'
	//server:'https://fuyang.huayuyangchu.cn'
	//upUrl = 'https://nsapi.hklvia.top'
	//#endif

} else {

	//upUrl='https://testfuyapi.huayuyangchu.cn'
	upUrl:'https://fuyang.huayuyangchu.cn'

}
import store from './vuexglobal.js'
Vue.prototype.$store = store
Vue.prototype.VERSION = 'v1.20'
Vue.prototype.upUrl = upUrl
Vue.prototype.apiget = get
Vue.prototype.apipost = post
Vue.config.productionTip = false

App.mpType = 'app'
const app = new Vue({
	store,
	...App
})


//地址：https://www.showdoc.com.cn/fuyangtang
//CGFaiusaDasdffYbX
//包名和别名fuyangtang.com  密码FUyangtang1989




app.$mount()
